package com.ktgj.customer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MallProductBackstage implements Serializable {
    public MallProductBackstage() {
        this.productType = new ArrayList<>();
    }

    /** 商品主键id（编号） */
    private Long productId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgPath;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private List<String> productType;

    /** 销售单价 */
    @Excel(name = "销售单价")
    private BigDecimal salePrice;

    /** 会员价 */
    @Excel(name = "会员价")
    private BigDecimal memberPrice;

    /** 成本价 */
    @Excel(name = "成本价")
    private BigDecimal originalPrice;

    /** 市场价 */
    @Excel(name = "市场价")
    private BigDecimal marketPrice;

    /** 库存量 */
    @Excel(name = "库存量")
    private Integer stockCount;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 是否审核 */
    @Excel(name = "是否审核")
    private String ifpass;

    /** 商品分类,字典表主键 */
    @Excel(name = "商品分类,字典表主键")
    private Long typeId;

    /** 商品子类 */
    @Excel(name = "商品子类")
    private Long categoryCid;

    /** 商品分类父级 */
    @Excel(name = "商品分类父级")
    private Long categoryPid;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public List<String> getProductType() {
        return productType;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public BigDecimal getMemberPrice() {
        return memberPrice;
    }

    public void setMemberPrice(BigDecimal memberPrice) {
        this.memberPrice = memberPrice;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getIfpass() {
        return ifpass;
    }

    public void setIfpass(String ifpass) {
        this.ifpass = ifpass;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getCategoryCid() {
        return categoryCid;
    }

    public void setCategoryCid(Long categoryCid) {
        this.categoryCid = categoryCid;
    }

    public Long getCategoryPid() {
        return categoryPid;
    }

    public void setCategoryPid(Long categoryPid) {
        this.categoryPid = categoryPid;
    }
}
